<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class FourMedicalCheck extends Model
{
	use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'four_medical_check';
    public function type(){
        return $this->hasOne(FourCheckType::class,'id','type_id');
    }
    public function campus(){
        return $this->hasOne(FourCampus::class,'id','campus_id');
    }
    public function item(){
        return $this->hasOne(FourItem::class,'id','item_id');
    }

}
